//
//  AssetHelper.h
//
//  Created by Steffen Itterheim on 09.04.10.
//  Copyright 2010 Steffen Itterheim. All rights reserved.
//

/** Makes loading device-dependant resoures (assets) easier. By default it simply assumes all iPad resources to be suffixed
 by "-ipad" before the filename extension. On iPhone/iPod Touch it will simply return the given filename, so the overhead is minimal
 while the iPad has enough power to cope with modifying a resource strings on the fly. */
@interface AssetHelper : NSObject
{

}

/** Takes a string that is a filename (with or without path component) and returns the correct filename depending on the current device.
 On iPhone/iPod Touch it will simply return fileName. On iPad it will append "-ipad" to the filename and before the suffix and return that.
 By naming all corresponding iPad assets with the "-ipad" suffix and using this function you can avoid a lot of #ifdef and load different
 resource files with the same code. */
+(NSString*) getDeviceSpecificFileNameFor:(NSString*)fileName;

@end
